package com.yuyou.fn.tradingservice.entity;

import java.io.Serializable;
import java.util.Date;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

/**
 *服务车
 * 
 */
@TableName(value = "service_cart")
public class ServiceCart implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<ServiceCart> createExample(){
		return new Example<ServiceCart>(ServiceCart.class);
	}

	/**服务车ID*/
	@TableId(value = "cart_id")
	private Long cartId;

	/**目录ID*/
	@TableField(value = "category_id")
	private Long categoryId;

	/**用户ID*/
	@TableField(value = "user_id")
	private Long userId;

	@TableField(value = "create_time")
	private Date createTime;

	@TableField(value = "update_time")
	private Date updateTime;

	private Integer type;

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getCartId() {
		return this.cartId;
	}

	public void setCartId(Long cartId) {
		this.cartId = cartId;
	}

	public Long getCategoryId() {
		return this.categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
}
